KERNEL_PATH=../02day_env/linux-5.4.31
ifeq ($(KERNELRELEASE),)
all:
	make -C $(KERNEL_PATH) M=$(PWD) modules
	cp mydisk.ko /nfs/rootfs/myModule/
clean:
	make -C $(KERNEL_PATH) M=$(PWD) clean
else
	obj-m += mydisk.o
endif